package com.example.pathprotectsystem.service;

import com.example.pathprotectsystem.pojo.AskList;
import com.example.pathprotectsystem.pojo.PageBean;
import com.example.pathprotectsystem.pojo.Path;

import java.util.List;

public interface PathService {
    void addpath(Path path);

    PageBean<Path> pathlist(AskList askList);

    void pathupdate(Path path);

    void pathdelete(int id);

    List<String> getpaths();

    int findPathIdByPathName(String pathName);

    List<String> pathall();

    Path findPathByName(String pathName);

    int findPathByPathName(String name);

    List<Path> getallpath();
}
